package com.stormrage.entity.edu.rep;

import java.io.Serializable;

public class EduCourseRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 377940059754982336L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private String course;

	private String detail;

	private String image;

	private String lec;
	
	private Integer right;

	// ------------------------------- Fields -------------------------------

	public EduCourseRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCourse() {
		return course;
	}

	public void setCourse(String course) {
		this.course = course;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getLec() {
		return lec;
	}

	public void setLec(String lec) {
		this.lec = lec;
	}

	public Integer getRight() {
		return right;
	}

	public void setRight(Integer right) {
		this.right = right;
	}

	// ------------------------------- Fields -------------------------------

	public static EduCourseRep instance(EduCourseRep entity, Integer seq) {
		entity.setSeq(seq);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : seq - " + seq + " id - " + id + " course - " + course + " detail - " + detail
				+ " image - " + image + " lec - " + lec;
	}

}
